package com.lc.mapper;

import com.lc.pojo.Car;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;

@Mapper
@Repository
public interface CarMapper {
    List<Car> queryCarList();

    List<Car> queryCarListByShop(String shop_name);

    String queryShopNameByCarId(String car_number);

    Car queryCarByNum(String car_number);

    int addCar(Car car);

    int updateCar(Car car);

    int deleteCarByNum(String car_number);
}
